which of the following are functions of nucleic acids?