Photonic properties and applications of glass micro- and nanospheres