Frequency and voltage control in mixed AC and DC transmission networks