Obama phones Danish PM following shootings