Superconductivity and Charge-Density Wave Phase in the Holstein Model: a Weak Coupling Limit