A methodology for optimal laminar flow control: Application to the damping of Tollmien-Schlichting waves in a boundary layer