Is breastfeeding duration influenced by maternal attitude and knowledge? A longitudinal study during the first year of life