Shoplifting offences have returned to pre-pandemic levels as the cost of living soars.