A real variable characterization of $H^{p}$