Two people have been treated for smoke inhalation following a commercial building fire in Haslingden.