On Doob’s inequality and Burkholder’s inequality in weak spaces