How are proteins and nucleic acids related?