State, local officials urge fireworks safety