Andy Dalton agrees to deal with new NFC team