Equivalence of superintegrable systems in two dimensions