Officials give tips to prevent frozen pipes