Critical behavior of hydrogen in Nb/Ta superlattices