Effects of doping of lead titanate with alkaline-earth elements