Hydraulic and electric brake systems