Confirmation of the radial velocity super-Earth K2-18c with HARPS and CARMENES