Bohm trajectories for the Monte Carlo simulation of quantum-based devices