Phosphorus-31 spin-lattice relaxation. 2. Inorganic ring and chain phosphates