Multiple solid-phase synthesis of hydantoins and thiohydantoins