petar: a high-performance N-body code for modelling massive collisional stellar systems