W.P. Carey acquires Denver office for $40M