A reliable sealing method for microbatteries