Taxi ride scheduling and pricing using historical data