Molecular mechanisms governing Ca2+ regulation of evoked and spontaneous release