Fabrication of a hydrogen sensor using palladium-coated silver dendrites formed electrochemically