how does diabetes affect a man sexually?