Mid- and far-infrared spectroscopic studies of the influence of temperature, ultraviolet photolysis and ion irradiation on cosmic-type ices