A continuum theory for the mechanical response of materials to the thermodynamic stress of sintering