Study of B→X(3872)K, with X(3872)→J/ψπ+π-