New nanoforms of carbon and boron nitride