If exp {(tan2x+tan4+tan6+...∞)loge16}, 0<x<π/4, satisfies the quadratic equation x2−3x+2=0, then the value of cos2x+cos4x is