Analysis of the attainable efficiency of a direct-bandgap betavoltaic element