Scottish households have been warned about a common kitchen habit that could damage both their plumbing and the environment.