Weighted $H^p$ spaces