Legal requirements and best practices for laying off employees, including notice requirements and severance packages.