HS YM and CS theories in flat spacetime