Heavy flavour and exotic production at LHCb