Metrics for evaluating the quality in linear atmospheric inverse problems: a case study of a trace gas inversion