Visualization of hydrogen migration in solids using switchable mirrors