Optimal control of an influenza model with seasonal forcing and age-dependent transmission rates.