Smith forms of circulant polynomial matrices