Prove that (cosec theta-cot theta)^2=(1-cos theta)