The evolutionary public goods game model with punishment mechanism in an activity-driven network