Three-dimensional optical trapping and orientation of microparticles for coherent X-ray diffraction imaging