NFL reaches tentative agreement with referees