fix byte ordering in FECReadoutData and add iter_pmt_hits function