Observations of the gamma-ray-emitting narrow-line Seyfert 1, SBS 0846+513, and its host galaxy