Modeling the contributions of calcium channels and NMDA receptor channels to calcium current in dendritic spines