Filling carbon nanotubes with small palladium metal crystallites: the effect of surface acid groups