Cryogenic and hermetically sealed packaging of photonic chips for optomechanics