Theory of earth tide and barometric effects in porous formations with compressible grains