Massively parallel manipulation of single cells and microparticles using optical images