Somali pirates have seized dozens of ships over the past 18 months , receving millions of dollars in ransom payments .