Non-markovian quantum trajectories versus master equations: Finite-temperature heat bath