Synthesis and modification of ternary and quaternary chalcogenide nanocrystals