Mixed finite element formulations and related limitation principles: a general treatment