Robust separation of topological in-plane and out-of-plane waves in a phononic crystal