Automatic Physical Design for XML Databases