SPOCK: A proximal method for multistage risk-averse optimal control problems