UK brewer Scottish & Newcastle has sold its pub estate for £2.51 billion.