Relation between the Weil-Petersson and Zamolodchikov metrics