Specht property for some varieties of Jordan algebras of almost polynomial growth