France beat Croatia in a thrilling 4-2 final match at the Luzhniki Stadium to lift their second World Cup trophy.