Hamilton police officer denies he was crooked while testifying at corruption trial