diagnosing erectile dysfunction