Properties of atoms under pressure: Bonded interactions of the atoms in three perovskites