Molecular resolution imaging by repetitive optical selective exposure