Structural and magnetic studies of ultrathin epitaxial Co films deposited on a Pd(111) single crystal