BRST in the exact renormalization group