Accurate skull modeling from MRI for EEG source localization