Periodic Small-Signal Analysis as a Tool to Build Transient Stability Models of VSC-based Devices