Quantum optics of lossy asymmetric beam splitters