Toll Brothers Q2 loss narrows as revenues grow