General Model Of Hydrogen Transport Through Solid Membranes