M-decay in the bacteriorhodopsin photocycle: effect of cooperativity and pH.