Optical trapping of solid nanoparticles in superfluid helium