where did captain james cook go to school?