Optimization of a parenteral thermoresponsive formulation based on metformin hydrochloride