Ryanodine receptors drive neuronal loss and regulate synaptic proteins during epileptogenesis