Oxidative pyrolysis of oil shale in tubular flow reactors with external heating