Diagnosis of hearing defects and placement of hearing implants