The range problem and dimension theory for the Cuntz semigroup