Juventus share points with Atalanta in six-goal thriller