Planning with Dynamically Estimated Action Costs