Rheology of soft granular materials: uniaxial compression