Optical properties of the ferroelectromagnet YMnO 3 studied from first principles