Photoluminescence study of growth-related and processing-induced defects in indium phosphide