Magnetic and transport properties of YBa2Cu3Oy superconductor foams