Hilbert functions of schemes of double and reduced points