Optical properties of highly compressed polystyrene: An ab initio study