Assessment and treatment of impotence