New method efficiently generates hydrogen from water