The private data of more than 500 million LinkedIn users has been stolen and put up for sale online.