Conductance quantization and snake states in graphene magnetic waveguides