Xavi Hernandez retires from international football