Probing galaxy evolution through Hi 21-cm emission and absorption: current status and prospects with square kilometre array