Search for quantum states of the neutron in a gravitational field: gravitational levels