Meeting the goals of the Paris Agreement would create 8 million jobs by 2050, a new analysis has found.