Turkish parliament extends state of emergency