Germany takes measures to save energy amid gas crisis