Ultraviolet properties and band structure of SnS2, SnSe2, CdI2, PbI2, BiI3 and BiOI crystals