Spin and valley quantum Hall ferromagnetism in graphene