Imaging nanobubble nucleation and hydrogen spillover during electrocatalytic water splitting