Fitting directed graphical Gaussian models with one hidden variable