Spatial and temporal constraints imposed on the hedgehog pathway by the primary cilium