Renormalization of one-loop effective action on an arbitrary curved space-time: a general method