Former Costa Rican president discusses ties with China