Persistent current induced by both AB and AC effects in a polyacetylene ring