Influence of a beam splitter on photon statistics.