Structure and ferroelectricity at the atomic level in perovskite oxides.