Harry Potter, James Bond studios to be sold for £323m