John Donnelly — British army officer and promoter of scientific education