Quasitopoi over a base category