Swift monitoring of NGC 5548: X-ray reprocessing and short-term UV/optical variability