Finite size effects in boundary sine-Gordon theory