Ship detained in Aberdeen Harbour released after crew paid