Intermediate phases in the region of a morphotropic transition and the properties of ferroelectric piezoceramics