Aqueous developable dual switching photoresists for nanolithography