Casimir energy in the axial gauge