Dimitrov edges Goffin to win ATP Finals title