Electronic and magnetic properties of the high-T c superconductor EuBa2Cu3O x