Negative thermal expansion in cuprite-type compounds: A combined synchrotron XRPD, EXAFS, and computational study of Cu2O and Ag2O