First-principles study of the structural, elastic, and optical properties for Sr0.5Ca0.5TiO3