Predicting octane number from microscale flame dynamics