More than 2,000 pigeons have been shot at railway stations and depots across the UK in 16 months, the BBC has found.