A UBVR CCD Survey of the Magellanic Clouds