The molecule characterization of certain Hardy spaces