Influence of the measurement on the decay law: the bang-bang case