Synthesis and spectroscopy of upconverting lanthanide-doped nanocrystals