Berkeley academic offered extra credit for pro-Palestine protests