The writer David Cornwell, who was better known by his pen name John Le Carre, has died aged 89, the literary agency Curtis Brown has announced.