Exponential Lower Bounds on the Complexity of Local and Real-time Branching Programs