Afghanistan's government says it has launched an operation to prevent Taliban attacks as part of the group's annual "spring offensive".