Accurate evaluation of the conditions for generation of quantum effects in relativistic interactions between laser and electron beams