Heat content asymptotics for spectral boundary conditions