Confinement of the Crab pulsar's wind by its supernova remnant