Transition metal dichalcogenide nanospheres for high-refractive-index nanophotonics and biomedical theranostics