Movable flood-protection weirs are being installed in the UK for the first time in Leeds, after more than 2,000 homes were flooded in 2015.