who plays the mayor in once upon a time