Measures costing £1.6m will tackle the risk of flooding in Deepcar, Sheffield.