The influence of the resonant electromagnetic field on light absorption by exciton and biexciton in quantum wells