Electronic states of semiconductor/metal/semiconductor quantum well structures