Baryogenesis in the standard model and its supersymmetric extension