Preparation of n-type YBa2Cu3Oy films by an electrochemical reaction method