Density of ice as a function of temperature and stress