Nucleic acids having immunomodulatory properties