The modulation collimator in x-ray astronomy