Florida lawmakers pass gun-safety laws