Use of hydrogen as energy vector: an inherent safety analysis