An investment planning model for a battery energy storage system: considering battery degradation effects