Hard X-ray timing observation of the Crab Pulsar and Cygnus X-1