A study of heavy flavour production using muons in hadronic Z0 decays