Charles Darwin as a theoretical biologist in the mechanistic tradition