The phase-shifting mask II: Imaging simulations and submicrometer resist exposures