Gaussian densities and stability for some Ricci solitons