The influence of longitudinal modes of lasers on the photorefractive two wave coupling