The remains of six Polish soldiers killed in Slovakia in 1848 have been discovered after historians followed a tip off from a 19th century newspaper.