Microwave-assisted synthesis of titanium dioxide nanocrystalline for efficient dye-sensitized and perovskite solar cells