Russian senators gave final approval to legislation rushed through parliament that allows authorities to crack down on foreign media