Mathematical Modelling of the Densification of Metal and Ceramic Powders During Hot Isostatic Pressing