Mayoral hopefuls pledge to be ethical