Yemen says it foiled al Qaeda plot