What is the purpose of a 'gap analysis' in system development?