Full-sugar carbonated soft drinks will be banned from New Zealand's secondary schools in three years, following an agreement between the country's government, Coca-Cola Amatil and PepsiCo's local distributor.