X-ray absorption studies on cubic boron nitride thin films