Swelling response behavior of palladium during hydrogen absorption and discharge