A Class of Probability Metrics and its Statistical Applications