Livorno victory over 10-man Atalanta