Surface composition of BN, CN, and BCN thin films