Simultaneously shaping the intensity and phase of light for optical nanomanipulation