Flood defences 'in worst state on record'