Ultraviolet, optical and X-ray monitoring of the continuum of NGC 4151