Law firm Herbert Smith Freehills has been fined £465,000 after breaching UK financial sanctions on Russia.