Federal court affirms fraud conviction of Penn. judge