Prove that the height of the cylinder of maximum volume inscribed in a sphere of radius \( R \) is \( \frac{2R}{\sqrt{3}} \).