Non-Markovian quantum state diffusion: Perturbation approach