Electrodynamics at a metal surface. II. Fresnel formulas for the electromagnetic field at the interface for a jellium model within the random phase approximation