Geometric and electronic changes during interface alloy formation in Cu/Pd bimetal layers