Spin-assisted covalent bond mechanism in ``charge-ordering'' perovskite oxides