More serious offenders can be banned from voting, Strasbourg rules