England won for the first time in Dublin in the Six Nations since 2003, beating Ireland 12-6 at the Aviva Stadium.