Intermodulation and generation of elastic and piezoelectric waves in anisotropic solids