Network Rail said services operating in the Met Office’s red and amber zones should only be used ‘if absolutely necessary’