On the location of spikes for the Schrödinger equation with electromagnetic field