Integrated-light VRI imaging photometry of globular clusters in the Magellanic Clouds