A theoretical approach to the Lockhart-Martinelli correlation for stratified flow