A parameterization of the Lyman α and Lyman β line shapes for radiation transport simulations in divertor plasmas