Memory formation depends on both synapse-specific modifications of synaptic strength and cell-specific increases in excitability