Turkey extends state of emergency by three months