Optimal Nanoparticle Forces, Torques, and Illumination Fields