Physical properties of W gravities and W strings