Investigations of OH–N- and NH–O-type hydrogen-bonded clusters by UV laser spectroscopy