Riot police battled with demonstrators in several Turkish cities as mourners buried a teenager wounded in protests last summer.