Role of twinning and slip during compressive deformation of beryllium as a function of strain rate