Police have issued a warning to dog owners after rising attacks on sheep in Lancashire.