Theoretical study of palladium cluster structures on carbonaceous supports