{Studies of the performance of the ATLAS detector using cosmic-ray muons}