Obama blames gun lobby and GOP for school shooting