A Stimuli-Responsive Smart Lanthanide Nanocomposite for Multidimensional Optical Recording and Encryption.