Artificial erection in diagnosis and treatment of impotence