London police say a Royal Navy member has been charged with preparing to disclose sensitive information to a foreign power.