Two boat accidents have killed more than a dozen people in Indonesia as millions travel home to celebrate the Eid holiday.