CIM unit agrees to acquire five Oakland office buildings