China jails two for selling military secrets, including details of aircraft carrier