Poland beat Switzerland on penalties to reach quarters