Frontier offers to pay Spirit if takeover bid fails