Theoretical modelling of porous silicon decorated with metal atoms for hydrogen storage