Quantum oscillations in underdoped YBa2Cu3O6.5