Incremental Potential Contact: Intersection- and Inversion-free