Near infrared to ultraviolet upconversion nanocomposite for controlling the permittivity of polyspiropyran shell