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