Short-range structure in solid and liquid matter using multiple-edge EXAFS refinement