Demands for fareclasses and pricing in airline markets