Spin-coated mg-doped ZnO thin films as electron transport layers for efficient and stable perovskite solar cells | Synapse