On the moments of residual life in reliability and some characterization results