Well-dispersed gold nanoparticles anchored into thiol-functionalized hierarchically porous materials for catalytic applications