Analysis of unsteady viscous flow past an airfoil. I - Theoretical development