THE OPTICAL DEPTH OF H ii REGIONS IN THE MAGELLANIC CLOUDS