French lawmakers pass sweeping surveillance law following terror attacks