Local thermal expansion in a cuprite structure: the case of Ag2O