which us president during the revolutionary war against the british?