Egypt parliament extends presidential term to six years