Interesting bottles! Both probably contained wine. The long-neck appears to be late for this form, say 1810 - 1820s (these long-neck wines often date to the 1700s). This one appears to be a 3-mold bottle which dates it to post-1811 in all likelihood. The shorter bottle seems less distinctive, but also dates to the earliest 1800s, as best I can tell.
Don't be afraid to soak these bottles in a strong solution of laundry bleach with a few drops of laundry detergent. If the coating resists, you can soak in a solution of hydrochloric/muriatic acid. Scrub after soaking with a soft brush. This may sound radical, but it's very difficult to damage glass with acid.