Salford City Council has approved plans for the construction of 25 new affordable homes across two sites in the city.