Emerging energy storage and renewable energy technologies: sodium-ion batteries and Perovskite photovoltaics