Solid state synthesis of CdS quantum dots through laser direct writing