Discovery of periodic eclipses in the X-ray pulsar 1H 0253+193