Text this: Optimal placement and sizing of battery energy storage system for losses reduction using whale optimization algorithm