C. S. Peirce on biological evolution and scientific progress