British PM to run referendum ahead of EU treaty changes