Smoking bans take effect