Conditional density estimation with histogram trees