Man with hammer attacks Green Party MPs