Optimal pricing policies for public transportation networks