create tables and figures directories if they don't exist