Quantum-optical trapping of nanodiamonds containing NV centres