Electronic states, quantum Hall effect and current profiles in graphene ribbons