ELECTROMAGNETIC WAVES IN FINITE SUPERLATTICES WITH BUFFER AND CAP LAYERS