Exact renormalization group in Batalin--Vilkovisky theory