French man jailed for phoning and texting his ex 21,807 times