Solution- and solid-phase synthesis of novel hydantoin and isoxazoline-containing heterocycles