Farmer Tony Martin, who shot dead a burglar in 1999, has died aged 80, his friend has said.