Asymmetric transmission and anomalous refraction in metal nanowires metasurface