How neutron stars constrain the nuclear equation of state