Townsend agrees to join Cowboys: report