Ab-initio study of structural phase transitions and optoelectronic properties in BeH 2 at increasing pressure