Critical radiation fluxes and luminosities of black holes and relativistic stars