Fabrication of particular structures of hexagonal boron nitride and boron-carbon-nitrogen layers by anisotropic etching