REGULARIZATION DEPENDENCE OF VACUUM ENERGY IN ARBITRARILY SHAPED CAVITIES