Text this: A Planning Model for Optimal Sizing of Integrated Power and Gas Systems Capturing Frequency Security