Hydrogen safety, state of the art, perspectives, risk assessment, and engineering solutions