How does DNA encode the characteristics of an organism?