Somali pirates free Greek-owned ship, say ransom was $5.7 mln