Teen fashion retailer Urban Outfitters has posted a 17% rise in third-quarter net profit thanks to improved margins and a reduction in markdowns.