The Star Formation Rate Density of the Universe at z = 0.24 and 0.4 from Hα