Thomas Foley (1616–1677)