Investigation of perpendicular magnetic anisotropy of CoFeB by x-ray magnetic circular dichroism