Thomas Foley (died 1737)