Dallas mayor makes switch to GOP emphasizing law and order