Uhlenbeck–Donaldson compactification for framed sheaves on projective surfaces