China EV maker Nio reports wider-than-expected loss in Q2