Role of lone-pair interactions and local disorder in determining the interdependency of optical constants of a-CN:H thin films