Mayor declares public-health emergency as flu cases mount