Michael Douglas warns actors against dating co-stars