mgs) thin films for solar energy applications