Magnetic tweezers measurements of the nanomechanical properties of DNA in the presence of drugs