Finland and Estonia ratify EU treaty before Irish vote