Optimal two-mode collective attacks against unidimensional two-way continuous-variable quantum key distribution