Moduli spaces of framed sheaves and quiver varieties