Hybridization of a Metal–Organic Framework with a Two-Dimensional Metal Oxide Nanosheet: Optimization of Functionality and Stability