A theory of laminar flow stability