Measurement of proton and nitrogen polarization in ammonia and a test of equal spin temperature