Elisa Balsamo got the better of Marianne Vos in a thrilling finish to become the world road race champion.