Three killed in overnight crashes in Dublin and Cork