Possible ferrimagnetism and ferroelectricity of half-substituted rare-earth titanate: A first-principles study on Y0.5La0.5TiO3