Turkish court rejects opposition's referendum appeal