A rare "thundersnow" event has taken place in Edinburgh - with alarmed locals contacting police after thinking they heard explosions.