Optimal pricing in tiered markets