A compact catalytic foam reactor for decomposition of ammonia by the Joule-heating mechanism