Conformations and hydrogen bonding in codeine and morphine salts