Encephalitis toll reaches 304 in UP