Mechanical Properties and DNA Organization of Viruses and Bacteria