Study of runaway electron generation during major disruptions in JET