Analysis of leading-edge separation bubbles on airfoils