Impact of cyberattacks on safety and stability of connected and automated vehicle platoons under lane changes