according to the theory developed by Charles darwin what process causes organisms to develop traita that help them adapt to changes in their environment