The magnetic properties of Ce/Pd surface alloys investigated using DFT