Population balance modelling of soot formation in laminar and turbulent flames