Lanthanide-doped CdS quantum dots: luminescence and paramagnetic properties