Molecular mechanisms of radiation-induced damage to nucleic acids