Cryptography firm Certicom posts quarterly loss, year after big U.S. contract