Performance-Based Optimisation of Friction Energy Dissipation Devices in RC Structures