Optimizing COVID-19 surveillance using historical electronic health records of influenza infections