Method of measuring the spatial resolution of a photoresist