Shape equivalence, nonstable K-theory and AH algebras