Stata code to created dyadic and directed dyadic data frames