Quarkonium and heavy flavour production measurements at ATLAS