Synthesis and applications of anisotropic nanoparticles with precisely defined dimensions