Design optimization of GaAs betavoltaic batteries