Estimate of the intergalactic infrared radiation field from γ-ray observations of the galaxy Mrk421