Rangers rally from early deficit to beat Athletics