Zero-point energy in bag models