nucleic acids function in the body