Thin Films for Applications in Generation and Storage of Electrical Energy