California declares state of emergency in oil-affected Santa Barbara