If A=[cos2θ−sin2θsin2θcos2θ] and A+AT=I, where I is the unit matrix of order 2×2 and AT is the transpose of A, then the value of θ is equal to