A painting by Austrian painter Gustav Klimt has become the third most expensive artwork ever sold at auction in Europe.