Los Angeles passes law banning large-capacity gun magazines