A public inquiry in the UK has heard that British soldiers tortured Iraqi civilians and committed other crimes during operations in southern Iraq in 2004.