Effect of the Ca content on the electronic structure of Pb1−xCaxTiO3 perovskites