Sharks outlast Avalanche 3-2 in shootout