Dynamic buckling of axisymmetric spherical caps with initial imperfections