The Computational Complexity of Equivalence and Isomorphism Problems