State of emergency declared as NSW prepares for 'catastrophic' fire conditions