Bulgaria's parliament has adopted a total ban on smoking in indoor public places, after earlier attempts failed due to strong opposition from restaurant owners.