Design and construction of a pulsed high magnetic field facility and high field magnetoresistance studies in some semiconductors