Variational Macroscopic Two-Phase Poroelasticity. Derivation of General Medium-Independent Equations and Stress Partitioning Laws