Performance analysis of perovskite and dye-sensitized solar cells under varying operating conditions and comparison with monocrystalline silicon cell