Optical constants and band structure of trigonal NiO