Prediction of solar flare proton spectral slope from radio burst data