Cosmogonical implications of elemental and isotopic abundances in atmospheres of the giant planets