Gortler vortices in boundary layers with streamwise pressure gradient: Linear theory