Theory of nonadiabatic transition for general two‐state curve crossing problems. I. Nonadiabatic tunneling case