Jahn-teller configurational instability in square-planar complexes