Eight people have been shot dead in a restaurant near a southeastern Czech town, in the worst shooting attack in the country's history.