Hair straightener and flat iron