Text this: A combined pool/bilateral dispatch model for electricity markets with security constraints