An effective finite element model for the prediction of hydrogen induced cracking in steel pipelines