Versatile lithium fluoride thin-film solid-state detectors for nanoscale radiation imaging