Study of positronium in water and ice from 22 to -144 °C by annihilation quanta measurements