Reliability and Energy Costs Analysis of a Rural Hybrid Microgrid Using Measured Data and Battery Dynamics: A Case Study in the Coast of Perú