Ab initio and work function and surface energy anisotropy of LaB6.