The effective potential in the light-cone gauge and supersymmetric Yang-Mills theories