QCD phase boundary and critical point in a bag model calculation