Associations between schools' guidelines and pupils' smoking and sweet consumption.