Magnetotransport through graphene nanoribbons