Absolute energy levels in nanodiamonds of different origins and surface chemistries