Effective action and Hawking flux from covariant perturbation theory