Electronic structure and optical properties of (BeTe)n/(ZnSe)m superlattices