Method and optical device for manipulating a particle