Optical properties and band structure of the layer compounds InSe, GaSe and GaS