Melting transition of vortex matter in YBa2Cu3Oy with various oxygen contents