The number of civilians killed or wounded in Afghanistan last year was the highest recorded since 2009, the UN says, with children paying a particularly heavy price.