Global invertibility of Sobolev functions and the interpenetration of matter