Structure and composition of grain boundary dislocation cores and stacking faults in MOCVD-grown YBa2Cu3O7−x thin films