Estimation of penalty parameters for symmetric interior penalty Galerkin methods