A three-equation bypass transition model based on the intermittency function