Influence of the viscoelectric effects on the electrokinetic power generation controlled by an osmotic semi-membrane placed on a parallel-plate microchannel