Developer, sports teams reach deal over $1.9B American Dream megamall project in N.J.