C-MCTS: Safe Planning with Monte Carlo Tree Search