If [x] denotes the greatest integer less than or equal to x, then the value of the integral π/2∫−π/2[[x]−sinx]dx is equal to: