5. 已知函数f(x)=cos2x−sin2x,则( ) A. f(x)在(−π2,−π6)上单调递减 B. f(x)在(−π4,π12)上单调递增 C. f(x)在(0,π3)上单调递减 D. f(x)在(π4,7π12)上单调递增