major general john bates ancestors