On empirical cumulative residual entropy and a goodness-of-fit test for exponentiality