An extension of the Cox-Czanner divergence measure to residual lifetime distributions with applications