The Taliban have increased their use of corporal punishment, with public floggings and executions on the rise.