Quantifying the performance of a hybrid pixel detector with GaAs:Cr sensor for transmission electron microscopy