Generating and Exploiting Cost Predictions in Heuristic State-Space Planning