Adaptive and bounded investment returns promote cooperation in spatial public goods games