Pseudomomentum and material forces in inhomogeneous materials