Fluorescent carbon dots in solid-state: From nanostructures to functional devices