Foyles' flagship building 'sold for £45m'