A luxury cruise ship carrying 206 people was pulled free days after it got stuck off the coast of Greenland, authorities said.