Diffusive expansion for solutions of the Boltzmann equation in the whole space