Domain structures and magnetization reversal in Co/Pd and CoFeB/Pd multilayers