State of emergency declared in Cary after storms