Kobach criticized after riding in parade with replica gun