Obama slams US Senate for voting down gun measures