The Scientific Payload On-Board the HERMES-TP and HERMES-SP CubeSat Missions