Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization