Luminescent metal nanoclusters: controlled synthesis and functional applications