SHAPES empirical force field: new treatment of angular potentials and its application to square-planar transition-metal complexes