Displacement-based design of buckling-restrained braces for the seismic rehabilitation of existing r.c. frames