The Edinburgh International Festival will no longer be sponsored by oil and gas giant BP, bringing an end to a 34-year relationship.