How do you prove the identity (1+cos2theta)/sin(2theta)=cottheta?