Wave functions and Bohmian trajectories in interference phenomena