Magnet Forensics to be sold to private equity firm Thoma Bravo in $1.8 billion deal