Green's-function theory of ferroelectric phase transitions in hydrogen-bonded triglycine sulfate with the pseudospin-lattice coupled-mode model: A unified theory of structural phase transitions. I. Static and dynamic properties.