A theory to predict the inception of rotating stall in axial flow compressors