French mayor to go on trial over alleged sex-tape blackmail of political rival