Brake pads for rim and disc brakes