Structural parameters determining the transition temperature of tetragonal KH2PO4-type crystals.