Development of gel formulations for localized release of metformin