The gas dynamics of H II regions. II - Two-dimensional axisymmetric calculations