Microstructure-properties relationships in samarium modified lead titanate piezoceramics—I. Quantitative study of the microstructure