Finite-energy sum rules for inclusive processes