Women and children kidnapped during a deadly attack on a farming community near Haiti's capital have been released, says UNICEF.