Gun attack on Istanbul police HQ in spate of violence