Two-Layer Model of Turbulent Boundary Layers