Electromagnetic field profile of an excitonic polariton in a quantum wire waveguide