A full-potential LAPW study of structural and electronic properties of beryllium