Morphological transformations of BNCO nanomaterials: Role of intermediates