Magnetic field dependent tunneling magnetoresistance through a quantum well between ferromagnetic contacts