Prediction of the critical Reynolds number for flow past a circular cylinder