Topological phases in acoustic and mechanical systems