Stress sensitivity of elastic moduli and electrical resistivity in porous rocks