First-principles study of stability, band structure, and optical properties of the ordered Ge0.50Sn0.50 alloy