Vibrations in elastic and piezoelectric superlattices