Perturbation method for the dynamic analysis of a bistable oscillator under slow harmonic excitation