Combining perturbation theory techniques with variational CI calculations to study molecular excited states