Statistical inference for critical continuous state and continuous time branching processes with immigration