Head of Armenian National Security Service quits post in surprise resignation