Interplay of electronic, structural and magnetic properties as the driving feature of high-entropy CoCrFeNiPd alloys