Solar fusion cross sections. II. The pp chain and CNO cycles