Prediction of conditional quantiles on the half line and the unit interval using transformation models