Volume averaging, effective stress rules, and inversion for microstructural response of multicomponent porous media