Uphill sprint leads to photo finish in Stage 3 of Tour de France