St Annes CofE Primary School in Bishop Auckland and Greenland Community Primary in Stanley have been forced to close after heating issues amid a cold snap.