The application is directed to compounds of Formula (I) and pharmaceutically acceptable salts and solvates thereof, wherein R1, R2, R3, R4, and Z are defined as set forth in the specification. In certain embodiments, the invention is also directed to compounds of Formula II-VII and the pharmaceutically acceptable salts and solvates thereof. The invention is also directed to use of compounds of Formula I to VII, and the pharmaceutically acceptable salts and solvates thereof, to treat disorders responsive to the modulation of one or more opioid receptors, or as synthetic intermediates. Certain compounds of the invention are especially useful for treating pain.