GRADUALLY VARYING TWO-LAYER STRATIFIED FLOW