Experience-based Refinement of Task Planning Knowledge in Autonomous Robots