Evaluation of technical and financial benefits of battery-based energy storage systems in distribution networks