BMW open to sharing battery technology with rivals