Erdogan wins Turkey referendum as opposition cries foul