Micromechanical model of weakly-cemented sediments