Optomagnetic detection of DNA triplex nanoswitches.