City of San Francisco and private consultant held responsible for dangerous condition of trees in park.