ITV to pay special dividend after earnings rise