Generalized Gouy phase for focused partially coherent light and its implications for interferometry