Branching fraction and charge asymmetry measurements in B→J/ψππ decays