Embedding median algebras in products of trees