Cardinal invariants in quasitopological groups