The depletion of NO in pre-protostellar cores