A study of hydrogen detection with palladium modified porous silicon