Optical properties of K2SeO4 in the vicinity of phase transitions