Shallow flow modelling using curvilinear depth-averaged stream function and vorticity transport equations