Process for preparing hydrogen peroxide from the elements