Turkey coup bid was 'clear case of attack on democracy'