Chelsea captain John Terry will leave the club at the end of the 2015-16 season, with the Blues having opted against extending his contract.