Exact renormalization group and effective action: A Batalin–Vilkovisky algebraic formulation