Polarization-controlled multifunctional coding metasurface operating in transmission-reflection modes