Upper bounds for the red-shift parameter in perfect-fluid spheres