ASCA and ROSAT observations of NGC 5548: discrepant spectral indices