Facile synthesis of hydantoins and thiohydantoins in aqueous solution