Multiobjective and Simultaneous Two-Problem Allocation of a Hybrid Solar-Wind Energy System Joint with Battery Storage Incorporating Losses and Power Quality Indices