All-sky search for periodic gravitational waves in LIGO S4 data