Spanish new energy factory makes battery thin film