A methodology for chemical formulation for wettability alteration induced water imbibition in carbonate reservoirs