Analysis of public responses to preparedness policies: the cases of H1N1 influenza vaccination and gas mask distribution