Heat asymptotics with spectral boundary conditions