The long outburst of the black hole transient GRS 1716–249 observed in the X-ray and radio band