Senate approves measure to raise teacher salaries