If you do not care about the inner pan, cut a small hole in it, add a couple inches of water and put it in freezer. As the water freezes in the lower pan, it will push the upper pan out. (Just freezing without a hole or water might work because the cold might shrink the metal just enough to loosen it.)