The equivalence axiom and univalent models of type theory