Degradation of the high-Tc superconductor YBa2Cu3O7-y studied by high-resolution electron microscopy