Text this: Optimal joint production and green investment decisions of green credit financing under uncertain demands