A's reach deal with Cuban defector Cespdes