SIS-SEIQR adaptive network model for pandemic influenza