The electoral impact of direct democratic practices