Structure and energetics of carbon, hexagonal boron nitride and carbon/hexagonal boron nitride single-layer and bilayer nanoscrolls