Magneto-Seebeck effect and ambipolar Nernst effect in the CsV3Sb5 superconductor