Flow analysis in a channel with flexible vegetation using double-averaging method