Principal eigenvalue and eigenfunctions of an elliptic operator with large advection and its application to a competition model