Subgaussian random variables in Hilbert spaces