Sol-gel multilayered coatings for reduction of H2 permeation