QuantumScape faces 15% earnings swing as Q2 loss widens to $0.18