Fundamentals of Laser Cooling of Rare-Earth-Ion Doped Solids and its Enhancement Using Nanopowders.