Electronic Properties of the Compounds with AlB_2 Structure: Self-Consistent LAPW Study of BeB_2, AlB_2, CaGa_2 and TiB_2