High sensitivity detection of hydrogen/deuterium based on palladium top capped magnesium alloy thin films