Magnetic, electronic and optical properties of different graphene, BN and BC2N nanoribbons. (April 2017)