Turkey's parliament has passed legislation to ban alcohol sales during nighttime hours and ban all advertising of any intoxicating beverage.