Neutrino physics with the PTOLEMY project: Active neutrino properties and the light sterile case